const voiceApi = {
    /**
     * 文本转语音
     *
     * @param {Object} params
     * @param {string} params.scene 场景
     * @param {number} params.rid 来源ID
     * @returns {Promise<VoiceSpeechResponse>}
     * @author zero
     */
    speech(params: {
        scene?: string;
        rid: number;
    }): Promise<VoiceSpeechResponse> {
        return $request.post<VoiceSpeechResponse>({
            url: '/voice/speech',
            params
        })
    },

    transcriptions() {

    }
}

export default voiceApi
